package com.taurus.myboard.controller;

import com.taurus.myboard.common.vo.Result;
import com.taurus.myboard.service.IJobManageService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.Map;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author kanten
 * @since 2023-06-07
 */
@RestController
@RequestMapping("/job")
public class JobManageController {

    @Resource
    IJobManageService jobManageService;

    @GetMapping(value = "/query/info")
    public Result<Map<String, String>> getJobList(){
        Map<String, String> data = jobManageService.getJob("202306131452151979190", "guest", "10000");
        return Result.success(data);
    }
}
